//
//  UIBarButtonItem+QZAddition.m
//  QZ浪里个浪
//
//  Created by 秦－政 on 2016/10/24.
//  Copyright © 2016年 pete. All rights reserved.
//

#import "UIBarButtonItem+QZAddition.h"
#import "UIButton+QZAddition.m"

@implementation UIBarButtonItem (QZAddition)
+ (instancetype)QZ_setHighlightedImgName:(NSString *)Hname title:(NSString *)title target:(id)target action:(SEL)action
{
    // 床架一个导航按键
    UIBarButtonItem *item = [[self alloc]init];
    // 创建一个按键
    UIButton *btn = [UIButton QZ_setHighlightedImgName:Hname title:title target:target action:action];
    item.customView = btn;
    return item;
}
@end
